package com.ruoyi.wms.domain.entity.employee;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.ruoyi.common.mybatis.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

import java.io.Serial;

/**
 * 员工积分明细对象 employee_points_details
 *
 * @author 邓滔滔
 * @date 2024-12-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("employee_points_details")
public class EmployeePointsDetails extends BaseEntity {

    @Serial
    private static final long serialVersionUID=1L;

    /**
     * 主键ID
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 员工
     */
    private Long employeeId;
    /**
     * 积分变动值
     */
    private BigDecimal pointsChange;
    /**
     * 原因
     */
    private String reason;
    /**
     * 总积分
     */
    private BigDecimal point;
    /**
     * 变动日期
     */
    private Date changeDate;

}
